package com.example.lemis.model.dto;

import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Null;
import lombok.Data;

@Data
public class DoorplateReissueDTO {
    @Null(message = "id 自动生成")
    private Long id;
    @NotNull(message = "申请人id不能为空")
    private Long creatorId;
    @NotNull(message = "审批级数不能为空")
    private String levels;
    @NotNull(message = "门牌状态不能为空")
    private String status;
    @NotNull(message = "门牌id不能为空")
    private Long doorplateId;
    private String remark; // 可选，重新申请的备注信息
}
